package com.sh.business.mapper;

import com.sh.business.domain.UserFinancing;
import com.sh.business.domain.vo.UserFinancingVo;
import com.sh.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 用户理财记录Mapper接口
 *
 * @author ruoyi
 * @date 2025-02-19
 */
public interface UserFinancingMapper extends BaseMapperPlus<UserFinancing, UserFinancingVo> {

    /**
     * 查询用户理财记录
     *
     * @param userId 用户Id
     * @return 用户理财记录
     */
    BigDecimal queryUserFinancingPendingAmount(@Param("userId") Long userId);

}
